<div id="main-alt">
  <ul id="tab_nav" class="tab_nav">
    <li><%= link_to("Article", <%= file_name %>_path(@<%= file_name %>_page.slug)) %></li>
    <% if logged_in? %>
    <li><%= link_to 'Edit this page', edit_<%= file_name %>_path(@<%= file_name %>_page.slug) %></li>
    <li><%= link_to("History", "#", :class => "active") %></li>
    <% end %>
  </ul>
  
  <div id="wikiContent">
  <h2><%= title "#{@<%= file_name %>_page.title} - Version History" %></h2>
  <dl class="<%= file_name %>_history">
  
  <% for <%= file_name %>_revision in @<%= file_name %>_page.revisions %>
    <% ver_no = @<%= file_name %>_page.revisions.size - @<%= file_name %>_page.revisions.index(<%= file_name %>_revision) %>
    <dt><%= link_to(h("Version # #{ver_no}"), <%= file_name %>_revision_path(:id => ver_no, :<%= file_name %>_id => @<%= file_name %>_page.slug) )%> - <%= <%= file_name %>_revision.edit_summary %>
    <%= link_to("(Rollback to this version)", <%= file_name %>_revision_path(:<%= file_name %>_id => @<%= file_name %>_page.slug, :id => ver_no), :method => :put) unless <%= file_name %>_revision.current_version? %>
    </dt>
    
    <dd>Edited by <%= link_to(<%= file_name %>_revision.editor.name, user_path(<%= file_name %>_revision.editor.id)) %> on <%= <%= file_name %>_revision.created_on.to_s(:long) %></dd>
  <% end %>
  </dl>
  </div>
</div>

<div id="secondary-alt">
<%= render :partial => '<%= file_name %>_pages/<%= file_name %>_navigation' %>

</div>